package com.example.demo.provider;

import org.springframework.context.support.ClassPathXmlApplicationContext;


/**
 * @author 许路路
 */
public class ProviderMain {

    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(new String[]{"classpath:dubbo-provider.xml"});
        applicationContext.start();
        System.out.println("dubbo 服务启动成功");
        System.in.read();
    }
}
